{% load staticfiles %}
<html>
  <head>
    <title>test_js</title>
    <meta http-equiv="content-type" content="text/html; charset=gb2312" />
    <link rel="stylesheet" href="{% static 'polls/css/css_t2.css' %}">
    <script src="{% static 'polls/js/js1.js' %}"></script>
    <script src="/static0/js/jquery-1.7.2.min.js"></script>
  </head>
  <body>
    <div class="one">One</div>
    <div class="two">Two</div>
    <div class="three">Three</div>
    <div class="four">Four</div>

    <script type="text/javascript">
     var i = 0;
     while(i < 10) {
       document.write(i + "<br />");
       i++;
     }
     while ( i >= 1) {
       document.write(i + "<br />");
       i--;
     }
     var total = 0, count = 1;
     while (count <= 10) {
       total += count;
       count += 1;
     }
     document.write("hello, javascript.");
     document.write("1 + 2 + ... + 10 =" + total);

    </script>
    <input type="text" name="email" value="Enter your email address"
           onfocus="this.value = '';" onblur = "if (this.value == '')
           this.value = 'Enter your email address';" />
    <input type="text" name="name" value="Enter your name"
           onfocus="this.value = '';" onblur = "if (this.value == '')
           this.value = 'Enter your name';" />
    <a href="http://www.baidu.com">baidu</a>
    <table border="1" cellpadding="5">
      <tr>
        <th>First Name</th>
        <th>Last name</th>
        <th>Address</th>
        <th>City</th>
        <th>State</th>
        <th>Country</th>
        <th>Number</th>
        <th>Email</th>
      </tr>
      
      <tr>
        <td>liu </td>
        <td>cheng</td>
        <td>28 longjin road</td>
        <td>chengdu</td>
        <td>61000</td>
        <td>china</td>
        <td>123456789</td>
        <td>lcc@test.com</td>
      </tr>
      
      <tr>
        <td>五 </td>
        <td>名</td>
        <td>23 longjin road</td>
        <td>beijin</td>
        <td>100000</td>
        <td>china</td>
        <td>987654321</td>
        <td>wumiin@test.com</td>
      </tr>
      
      <tr>
        <td>firstname </td>
        <td>lastname</td>
        <td>first3 last3 road</td>
        <td>chengdu</td>
        <td>sichuang</td>
        <td>china</td>
        <td>9090950</td>
        <td>474944723@qq.com</td>
      </tr>
    </table>
    <table border="1" cellpadding="5">
      <tr>
        <th>First Name</th>
        <th>Last name</th>
        <th>Address</th>
        <th>City</th>
        <th>State</th>
        <th>Country</th>
        <th>Number</th>
        <th>Email</th>
      </tr>
      
      <tr>
        <td>liu </td>
        <td>cheng</td>
        <td>28 longjin road</td>
        <td>chengdu</td>
        <td>61000</td>
        <td>china</td>
        <td>123456789</td>
        <td>lcc@test.com</td>
      </tr>
      
      <tr>
        <td>五 </td>
        <td>名</td>
        <td>23 longjin road</td>
        <td>beijin</td>
        <td>100000</td>
        <td>china</td>
        <td>987654321</td>
        <td>wumiin@test.com</td>
      </tr>
      
      <tr>
        <td>firstname </td>
        <td>lastname</td>
        <td>first3 last3 road</td>
        <td>chengdu</td>
        <td>sichuang</td>
        <td>china</td>
        <td>9090950</td>
        <td>474944723@qq.com</td>
      </tr>
      
    </table>
  </body>
</html>
